package com.jishuo.nontax.bean.vo;

import com.jishuo.base.util.StringObject;
import com.jishuo.nontax.bean.message.SetBankBalanceDTO;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class BankBalanceVO {
    private static final long serialVersionUID = 1L;

    //代理银行
    private String bankid;
    //金额
    private BigDecimal fund;
    //日期
    private String accountdate;
    //账号
    private String accountcode;
    //
    private Integer issend;
    //
    private Long messageid;
    //
    private String writedate;
    private String accountname;
    private String bankname;


    public SetBankBalanceDTO getSetBankBalanceDTO(){
        SetBankBalanceDTO bean = new SetBankBalanceDTO();
        bean.setAccountdate(this.accountdate);
        bean.setBankid(StringObject.objectString(this.bankid));
        bean.setFund(StringObject.objectString(this.fund));
        return bean;
    }
}
